package com.seeyou.lake.net

import java.io.Serializable

/**
 * @des 基类
 * @date 2021/9/24
 * @author fade
 */
open class BaseResult<T>(
    var code: Int = -1,
    var message: String = "",
    var data: T?
) {
    fun isOk(): Boolean {
        return code == 200
    }
}
